<%-- 
    Document   : a4
    Created on : 2014/8/5, 下午 03:53:04
    Author     : Benny
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%!
int x=5;
int y=7;

String sayHi(String name){
    return name+"Hi!";
}
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>A4</title>
    </head>
    <body>
        <h1>---A4---</h1>
        x=<%=x %><br>
        y=<%=y %><br>
        <br>
        <%= sayHi("Benny~")%><br>
        <br>
        <%= sayHi("Ruby~")%><br>
        <br>
        <%= sayHi("John~")%><br>
        <br>
        <%= sayHi("Jenny~")%><br>
         <br>
        <%= sayHi("Alex~")%><br>
    </body>
</html>
